start   previous   next

Shout3D™ 2.0 - 3D Studio MAX Export Tutorial


Adding a Bump Map

Back in MAX, add a bump map on top of the diffuse color map. Choose sky.gif from the models/images/shared directory. As this is a low contrast image of cloud in a bright sky, you'll need to set a fairly high bump level in MAX to see the effect.

Export to ball.s3d and, once again, open that file in a text editor. This time, you'll have two bitmap paths to edit � one in the DiffuseMap node and the other in a new BumpLevelMap node. After correcting both paths, note the bumpLevel field. This value will not obviously correspond to your bump level setting in MAX, and that's just as well. The rendered bump effect in the Shout3D viewer is generally much stronger than the corresponding effect in MAX. Thus you'll generally want to edit this field by hand and experiment with previews.

I got the result in the image on the right with a bumpLevel setting of .1, as follows:


diffuseMap DiffuseMap {
   texture ImageTexture {
      url "images/shared/spectrum.jpg"
   }
   offsetUV 0.5 0
}

bumpLevelMap BumpLevelMap {
   amount .1
   texture ImageTexture {
      url "images/shared/sky.gif"
   }
}

Experiment with different values by editing, saving the .s3d file, and previewing with the Wizard.

Next>


Copyright� 1999-2000, Eyematic Interfaces, Inc.